package com.desksoft.ecommerce.entity.logistics.dto;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CategoryExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CategoryExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCategorycodeIsNull() {
            addCriterion("CategoryCode is null");
            return (Criteria) this;
        }

        public Criteria andCategorycodeIsNotNull() {
            addCriterion("CategoryCode is not null");
            return (Criteria) this;
        }

        public Criteria andCategorycodeEqualTo(String value) {
            addCriterion("CategoryCode =", value, "categorycode");
            return (Criteria) this;
        }

        public Criteria andCategorycodeNotEqualTo(String value) {
            addCriterion("CategoryCode <>", value, "categorycode");
            return (Criteria) this;
        }

        public Criteria andCategorycodeGreaterThan(String value) {
            addCriterion("CategoryCode >", value, "categorycode");
            return (Criteria) this;
        }

        public Criteria andCategorycodeGreaterThanOrEqualTo(String value) {
            addCriterion("CategoryCode >=", value, "categorycode");
            return (Criteria) this;
        }

        public Criteria andCategorycodeLessThan(String value) {
            addCriterion("CategoryCode <", value, "categorycode");
            return (Criteria) this;
        }

        public Criteria andCategorycodeLessThanOrEqualTo(String value) {
            addCriterion("CategoryCode <=", value, "categorycode");
            return (Criteria) this;
        }

        public Criteria andCategorycodeLike(String value) {
            addCriterion("CategoryCode like", value, "categorycode");
            return (Criteria) this;
        }

        public Criteria andCategorycodeNotLike(String value) {
            addCriterion("CategoryCode not like", value, "categorycode");
            return (Criteria) this;
        }

        public Criteria andCategorycodeIn(List<String> values) {
            addCriterion("CategoryCode in", values, "categorycode");
            return (Criteria) this;
        }

        public Criteria andCategorycodeNotIn(List<String> values) {
            addCriterion("CategoryCode not in", values, "categorycode");
            return (Criteria) this;
        }

        public Criteria andCategorycodeBetween(String value1, String value2) {
            addCriterion("CategoryCode between", value1, value2, "categorycode");
            return (Criteria) this;
        }

        public Criteria andCategorycodeNotBetween(String value1, String value2) {
            addCriterion("CategoryCode not between", value1, value2, "categorycode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeIsNull() {
            addCriterion("DeptCode is null");
            return (Criteria) this;
        }

        public Criteria andDeptcodeIsNotNull() {
            addCriterion("DeptCode is not null");
            return (Criteria) this;
        }

        public Criteria andDeptcodeEqualTo(String value) {
            addCriterion("DeptCode =", value, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeNotEqualTo(String value) {
            addCriterion("DeptCode <>", value, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeGreaterThan(String value) {
            addCriterion("DeptCode >", value, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeGreaterThanOrEqualTo(String value) {
            addCriterion("DeptCode >=", value, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeLessThan(String value) {
            addCriterion("DeptCode <", value, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeLessThanOrEqualTo(String value) {
            addCriterion("DeptCode <=", value, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeLike(String value) {
            addCriterion("DeptCode like", value, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeNotLike(String value) {
            addCriterion("DeptCode not like", value, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeIn(List<String> values) {
            addCriterion("DeptCode in", values, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeNotIn(List<String> values) {
            addCriterion("DeptCode not in", values, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeBetween(String value1, String value2) {
            addCriterion("DeptCode between", value1, value2, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeNotBetween(String value1, String value2) {
            addCriterion("DeptCode not between", value1, value2, "deptcode");
            return (Criteria) this;
        }

        public Criteria andCategorynameIsNull() {
            addCriterion("CategoryName is null");
            return (Criteria) this;
        }

        public Criteria andCategorynameIsNotNull() {
            addCriterion("CategoryName is not null");
            return (Criteria) this;
        }

        public Criteria andCategorynameEqualTo(String value) {
            addCriterion("CategoryName =", value, "categoryname");
            return (Criteria) this;
        }

        public Criteria andCategorynameNotEqualTo(String value) {
            addCriterion("CategoryName <>", value, "categoryname");
            return (Criteria) this;
        }

        public Criteria andCategorynameGreaterThan(String value) {
            addCriterion("CategoryName >", value, "categoryname");
            return (Criteria) this;
        }

        public Criteria andCategorynameGreaterThanOrEqualTo(String value) {
            addCriterion("CategoryName >=", value, "categoryname");
            return (Criteria) this;
        }

        public Criteria andCategorynameLessThan(String value) {
            addCriterion("CategoryName <", value, "categoryname");
            return (Criteria) this;
        }

        public Criteria andCategorynameLessThanOrEqualTo(String value) {
            addCriterion("CategoryName <=", value, "categoryname");
            return (Criteria) this;
        }

        public Criteria andCategorynameLike(String value) {
            addCriterion("CategoryName like", value, "categoryname");
            return (Criteria) this;
        }

        public Criteria andCategorynameNotLike(String value) {
            addCriterion("CategoryName not like", value, "categoryname");
            return (Criteria) this;
        }

        public Criteria andCategorynameIn(List<String> values) {
            addCriterion("CategoryName in", values, "categoryname");
            return (Criteria) this;
        }

        public Criteria andCategorynameNotIn(List<String> values) {
            addCriterion("CategoryName not in", values, "categoryname");
            return (Criteria) this;
        }

        public Criteria andCategorynameBetween(String value1, String value2) {
            addCriterion("CategoryName between", value1, value2, "categoryname");
            return (Criteria) this;
        }

        public Criteria andCategorynameNotBetween(String value1, String value2) {
            addCriterion("CategoryName not between", value1, value2, "categoryname");
            return (Criteria) this;
        }

        public Criteria andCategoryqtyIsNull() {
            addCriterion("CategoryQty is null");
            return (Criteria) this;
        }

        public Criteria andCategoryqtyIsNotNull() {
            addCriterion("CategoryQty is not null");
            return (Criteria) this;
        }

        public Criteria andCategoryqtyEqualTo(Integer value) {
            addCriterion("CategoryQty =", value, "categoryqty");
            return (Criteria) this;
        }

        public Criteria andCategoryqtyNotEqualTo(Integer value) {
            addCriterion("CategoryQty <>", value, "categoryqty");
            return (Criteria) this;
        }

        public Criteria andCategoryqtyGreaterThan(Integer value) {
            addCriterion("CategoryQty >", value, "categoryqty");
            return (Criteria) this;
        }

        public Criteria andCategoryqtyGreaterThanOrEqualTo(Integer value) {
            addCriterion("CategoryQty >=", value, "categoryqty");
            return (Criteria) this;
        }

        public Criteria andCategoryqtyLessThan(Integer value) {
            addCriterion("CategoryQty <", value, "categoryqty");
            return (Criteria) this;
        }

        public Criteria andCategoryqtyLessThanOrEqualTo(Integer value) {
            addCriterion("CategoryQty <=", value, "categoryqty");
            return (Criteria) this;
        }

        public Criteria andCategoryqtyIn(List<Integer> values) {
            addCriterion("CategoryQty in", values, "categoryqty");
            return (Criteria) this;
        }

        public Criteria andCategoryqtyNotIn(List<Integer> values) {
            addCriterion("CategoryQty not in", values, "categoryqty");
            return (Criteria) this;
        }

        public Criteria andCategoryqtyBetween(Integer value1, Integer value2) {
            addCriterion("CategoryQty between", value1, value2, "categoryqty");
            return (Criteria) this;
        }

        public Criteria andCategoryqtyNotBetween(Integer value1, Integer value2) {
            addCriterion("CategoryQty not between", value1, value2, "categoryqty");
            return (Criteria) this;
        }

        public Criteria andUsedqtyIsNull() {
            addCriterion("UsedQty is null");
            return (Criteria) this;
        }

        public Criteria andUsedqtyIsNotNull() {
            addCriterion("UsedQty is not null");
            return (Criteria) this;
        }

        public Criteria andUsedqtyEqualTo(Integer value) {
            addCriterion("UsedQty =", value, "usedqty");
            return (Criteria) this;
        }

        public Criteria andUsedqtyNotEqualTo(Integer value) {
            addCriterion("UsedQty <>", value, "usedqty");
            return (Criteria) this;
        }

        public Criteria andUsedqtyGreaterThan(Integer value) {
            addCriterion("UsedQty >", value, "usedqty");
            return (Criteria) this;
        }

        public Criteria andUsedqtyGreaterThanOrEqualTo(Integer value) {
            addCriterion("UsedQty >=", value, "usedqty");
            return (Criteria) this;
        }

        public Criteria andUsedqtyLessThan(Integer value) {
            addCriterion("UsedQty <", value, "usedqty");
            return (Criteria) this;
        }

        public Criteria andUsedqtyLessThanOrEqualTo(Integer value) {
            addCriterion("UsedQty <=", value, "usedqty");
            return (Criteria) this;
        }

        public Criteria andUsedqtyIn(List<Integer> values) {
            addCriterion("UsedQty in", values, "usedqty");
            return (Criteria) this;
        }

        public Criteria andUsedqtyNotIn(List<Integer> values) {
            addCriterion("UsedQty not in", values, "usedqty");
            return (Criteria) this;
        }

        public Criteria andUsedqtyBetween(Integer value1, Integer value2) {
            addCriterion("UsedQty between", value1, value2, "usedqty");
            return (Criteria) this;
        }

        public Criteria andUsedqtyNotBetween(Integer value1, Integer value2) {
            addCriterion("UsedQty not between", value1, value2, "usedqty");
            return (Criteria) this;
        }

        public Criteria andTaxrateIsNull() {
            addCriterion("TaxRate is null");
            return (Criteria) this;
        }

        public Criteria andTaxrateIsNotNull() {
            addCriterion("TaxRate is not null");
            return (Criteria) this;
        }

        public Criteria andTaxrateEqualTo(BigDecimal value) {
            addCriterion("TaxRate =", value, "taxrate");
            return (Criteria) this;
        }

        public Criteria andTaxrateNotEqualTo(BigDecimal value) {
            addCriterion("TaxRate <>", value, "taxrate");
            return (Criteria) this;
        }

        public Criteria andTaxrateGreaterThan(BigDecimal value) {
            addCriterion("TaxRate >", value, "taxrate");
            return (Criteria) this;
        }

        public Criteria andTaxrateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("TaxRate >=", value, "taxrate");
            return (Criteria) this;
        }

        public Criteria andTaxrateLessThan(BigDecimal value) {
            addCriterion("TaxRate <", value, "taxrate");
            return (Criteria) this;
        }

        public Criteria andTaxrateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("TaxRate <=", value, "taxrate");
            return (Criteria) this;
        }

        public Criteria andTaxrateIn(List<BigDecimal> values) {
            addCriterion("TaxRate in", values, "taxrate");
            return (Criteria) this;
        }

        public Criteria andTaxrateNotIn(List<BigDecimal> values) {
            addCriterion("TaxRate not in", values, "taxrate");
            return (Criteria) this;
        }

        public Criteria andTaxrateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TaxRate between", value1, value2, "taxrate");
            return (Criteria) this;
        }

        public Criteria andTaxrateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TaxRate not between", value1, value2, "taxrate");
            return (Criteria) this;
        }

        public Criteria andClazzIsNull() {
            addCriterion("Class is null");
            return (Criteria) this;
        }

        public Criteria andClazzIsNotNull() {
            addCriterion("Class is not null");
            return (Criteria) this;
        }

        public Criteria andClazzEqualTo(String value) {
            addCriterion("Class =", value, "clazz");
            return (Criteria) this;
        }

        public Criteria andClazzNotEqualTo(String value) {
            addCriterion("Class <>", value, "clazz");
            return (Criteria) this;
        }

        public Criteria andClazzGreaterThan(String value) {
            addCriterion("Class >", value, "clazz");
            return (Criteria) this;
        }

        public Criteria andClazzGreaterThanOrEqualTo(String value) {
            addCriterion("Class >=", value, "clazz");
            return (Criteria) this;
        }

        public Criteria andClazzLessThan(String value) {
            addCriterion("Class <", value, "clazz");
            return (Criteria) this;
        }

        public Criteria andClazzLessThanOrEqualTo(String value) {
            addCriterion("Class <=", value, "clazz");
            return (Criteria) this;
        }

        public Criteria andClazzLike(String value) {
            addCriterion("Class like", value, "clazz");
            return (Criteria) this;
        }

        public Criteria andClazzNotLike(String value) {
            addCriterion("Class not like", value, "clazz");
            return (Criteria) this;
        }

        public Criteria andClazzIn(List<String> values) {
            addCriterion("Class in", values, "clazz");
            return (Criteria) this;
        }

        public Criteria andClazzNotIn(List<String> values) {
            addCriterion("Class not in", values, "clazz");
            return (Criteria) this;
        }

        public Criteria andClazzBetween(String value1, String value2) {
            addCriterion("Class between", value1, value2, "clazz");
            return (Criteria) this;
        }

        public Criteria andClazzNotBetween(String value1, String value2) {
            addCriterion("Class not between", value1, value2, "clazz");
            return (Criteria) this;
        }

        public Criteria andFatherIsNull() {
            addCriterion("Father is null");
            return (Criteria) this;
        }

        public Criteria andFatherIsNotNull() {
            addCriterion("Father is not null");
            return (Criteria) this;
        }

        public Criteria andFatherEqualTo(String value) {
            addCriterion("Father =", value, "father");
            return (Criteria) this;
        }

        public Criteria andFatherNotEqualTo(String value) {
            addCriterion("Father <>", value, "father");
            return (Criteria) this;
        }

        public Criteria andFatherGreaterThan(String value) {
            addCriterion("Father >", value, "father");
            return (Criteria) this;
        }

        public Criteria andFatherGreaterThanOrEqualTo(String value) {
            addCriterion("Father >=", value, "father");
            return (Criteria) this;
        }

        public Criteria andFatherLessThan(String value) {
            addCriterion("Father <", value, "father");
            return (Criteria) this;
        }

        public Criteria andFatherLessThanOrEqualTo(String value) {
            addCriterion("Father <=", value, "father");
            return (Criteria) this;
        }

        public Criteria andFatherLike(String value) {
            addCriterion("Father like", value, "father");
            return (Criteria) this;
        }

        public Criteria andFatherNotLike(String value) {
            addCriterion("Father not like", value, "father");
            return (Criteria) this;
        }

        public Criteria andFatherIn(List<String> values) {
            addCriterion("Father in", values, "father");
            return (Criteria) this;
        }

        public Criteria andFatherNotIn(List<String> values) {
            addCriterion("Father not in", values, "father");
            return (Criteria) this;
        }

        public Criteria andFatherBetween(String value1, String value2) {
            addCriterion("Father between", value1, value2, "father");
            return (Criteria) this;
        }

        public Criteria andFatherNotBetween(String value1, String value2) {
            addCriterion("Father not between", value1, value2, "father");
            return (Criteria) this;
        }

        public Criteria andAdjrateIsNull() {
            addCriterion("AdjRate is null");
            return (Criteria) this;
        }

        public Criteria andAdjrateIsNotNull() {
            addCriterion("AdjRate is not null");
            return (Criteria) this;
        }

        public Criteria andAdjrateEqualTo(BigDecimal value) {
            addCriterion("AdjRate =", value, "adjrate");
            return (Criteria) this;
        }

        public Criteria andAdjrateNotEqualTo(BigDecimal value) {
            addCriterion("AdjRate <>", value, "adjrate");
            return (Criteria) this;
        }

        public Criteria andAdjrateGreaterThan(BigDecimal value) {
            addCriterion("AdjRate >", value, "adjrate");
            return (Criteria) this;
        }

        public Criteria andAdjrateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("AdjRate >=", value, "adjrate");
            return (Criteria) this;
        }

        public Criteria andAdjrateLessThan(BigDecimal value) {
            addCriterion("AdjRate <", value, "adjrate");
            return (Criteria) this;
        }

        public Criteria andAdjrateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("AdjRate <=", value, "adjrate");
            return (Criteria) this;
        }

        public Criteria andAdjrateIn(List<BigDecimal> values) {
            addCriterion("AdjRate in", values, "adjrate");
            return (Criteria) this;
        }

        public Criteria andAdjrateNotIn(List<BigDecimal> values) {
            addCriterion("AdjRate not in", values, "adjrate");
            return (Criteria) this;
        }

        public Criteria andAdjrateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AdjRate between", value1, value2, "adjrate");
            return (Criteria) this;
        }

        public Criteria andAdjrateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AdjRate not between", value1, value2, "adjrate");
            return (Criteria) this;
        }

        public Criteria andTurnoverlIsNull() {
            addCriterion("TurnOverL is null");
            return (Criteria) this;
        }

        public Criteria andTurnoverlIsNotNull() {
            addCriterion("TurnOverL is not null");
            return (Criteria) this;
        }

        public Criteria andTurnoverlEqualTo(BigDecimal value) {
            addCriterion("TurnOverL =", value, "turnoverl");
            return (Criteria) this;
        }

        public Criteria andTurnoverlNotEqualTo(BigDecimal value) {
            addCriterion("TurnOverL <>", value, "turnoverl");
            return (Criteria) this;
        }

        public Criteria andTurnoverlGreaterThan(BigDecimal value) {
            addCriterion("TurnOverL >", value, "turnoverl");
            return (Criteria) this;
        }

        public Criteria andTurnoverlGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("TurnOverL >=", value, "turnoverl");
            return (Criteria) this;
        }

        public Criteria andTurnoverlLessThan(BigDecimal value) {
            addCriterion("TurnOverL <", value, "turnoverl");
            return (Criteria) this;
        }

        public Criteria andTurnoverlLessThanOrEqualTo(BigDecimal value) {
            addCriterion("TurnOverL <=", value, "turnoverl");
            return (Criteria) this;
        }

        public Criteria andTurnoverlIn(List<BigDecimal> values) {
            addCriterion("TurnOverL in", values, "turnoverl");
            return (Criteria) this;
        }

        public Criteria andTurnoverlNotIn(List<BigDecimal> values) {
            addCriterion("TurnOverL not in", values, "turnoverl");
            return (Criteria) this;
        }

        public Criteria andTurnoverlBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TurnOverL between", value1, value2, "turnoverl");
            return (Criteria) this;
        }

        public Criteria andTurnoverlNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TurnOverL not between", value1, value2, "turnoverl");
            return (Criteria) this;
        }

        public Criteria andTargetstorageIsNull() {
            addCriterion("TargetStorage is null");
            return (Criteria) this;
        }

        public Criteria andTargetstorageIsNotNull() {
            addCriterion("TargetStorage is not null");
            return (Criteria) this;
        }

        public Criteria andTargetstorageEqualTo(BigDecimal value) {
            addCriterion("TargetStorage =", value, "targetstorage");
            return (Criteria) this;
        }

        public Criteria andTargetstorageNotEqualTo(BigDecimal value) {
            addCriterion("TargetStorage <>", value, "targetstorage");
            return (Criteria) this;
        }

        public Criteria andTargetstorageGreaterThan(BigDecimal value) {
            addCriterion("TargetStorage >", value, "targetstorage");
            return (Criteria) this;
        }

        public Criteria andTargetstorageGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("TargetStorage >=", value, "targetstorage");
            return (Criteria) this;
        }

        public Criteria andTargetstorageLessThan(BigDecimal value) {
            addCriterion("TargetStorage <", value, "targetstorage");
            return (Criteria) this;
        }

        public Criteria andTargetstorageLessThanOrEqualTo(BigDecimal value) {
            addCriterion("TargetStorage <=", value, "targetstorage");
            return (Criteria) this;
        }

        public Criteria andTargetstorageIn(List<BigDecimal> values) {
            addCriterion("TargetStorage in", values, "targetstorage");
            return (Criteria) this;
        }

        public Criteria andTargetstorageNotIn(List<BigDecimal> values) {
            addCriterion("TargetStorage not in", values, "targetstorage");
            return (Criteria) this;
        }

        public Criteria andTargetstorageBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TargetStorage between", value1, value2, "targetstorage");
            return (Criteria) this;
        }

        public Criteria andTargetstorageNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TargetStorage not between", value1, value2, "targetstorage");
            return (Criteria) this;
        }

        public Criteria andOrdertagIsNull() {
            addCriterion("OrderTag is null");
            return (Criteria) this;
        }

        public Criteria andOrdertagIsNotNull() {
            addCriterion("OrderTag is not null");
            return (Criteria) this;
        }

        public Criteria andOrdertagEqualTo(String value) {
            addCriterion("OrderTag =", value, "ordertag");
            return (Criteria) this;
        }

        public Criteria andOrdertagNotEqualTo(String value) {
            addCriterion("OrderTag <>", value, "ordertag");
            return (Criteria) this;
        }

        public Criteria andOrdertagGreaterThan(String value) {
            addCriterion("OrderTag >", value, "ordertag");
            return (Criteria) this;
        }

        public Criteria andOrdertagGreaterThanOrEqualTo(String value) {
            addCriterion("OrderTag >=", value, "ordertag");
            return (Criteria) this;
        }

        public Criteria andOrdertagLessThan(String value) {
            addCriterion("OrderTag <", value, "ordertag");
            return (Criteria) this;
        }

        public Criteria andOrdertagLessThanOrEqualTo(String value) {
            addCriterion("OrderTag <=", value, "ordertag");
            return (Criteria) this;
        }

        public Criteria andOrdertagLike(String value) {
            addCriterion("OrderTag like", value, "ordertag");
            return (Criteria) this;
        }

        public Criteria andOrdertagNotLike(String value) {
            addCriterion("OrderTag not like", value, "ordertag");
            return (Criteria) this;
        }

        public Criteria andOrdertagIn(List<String> values) {
            addCriterion("OrderTag in", values, "ordertag");
            return (Criteria) this;
        }

        public Criteria andOrdertagNotIn(List<String> values) {
            addCriterion("OrderTag not in", values, "ordertag");
            return (Criteria) this;
        }

        public Criteria andOrdertagBetween(String value1, String value2) {
            addCriterion("OrderTag between", value1, value2, "ordertag");
            return (Criteria) this;
        }

        public Criteria andOrdertagNotBetween(String value1, String value2) {
            addCriterion("OrderTag not between", value1, value2, "ordertag");
            return (Criteria) this;
        }

        public Criteria andStorecodeIsNull() {
            addCriterion("StoreCode is null");
            return (Criteria) this;
        }

        public Criteria andStorecodeIsNotNull() {
            addCriterion("StoreCode is not null");
            return (Criteria) this;
        }

        public Criteria andStorecodeEqualTo(String value) {
            addCriterion("StoreCode =", value, "storecode");
            return (Criteria) this;
        }

        public Criteria andStorecodeNotEqualTo(String value) {
            addCriterion("StoreCode <>", value, "storecode");
            return (Criteria) this;
        }

        public Criteria andStorecodeGreaterThan(String value) {
            addCriterion("StoreCode >", value, "storecode");
            return (Criteria) this;
        }

        public Criteria andStorecodeGreaterThanOrEqualTo(String value) {
            addCriterion("StoreCode >=", value, "storecode");
            return (Criteria) this;
        }

        public Criteria andStorecodeLessThan(String value) {
            addCriterion("StoreCode <", value, "storecode");
            return (Criteria) this;
        }

        public Criteria andStorecodeLessThanOrEqualTo(String value) {
            addCriterion("StoreCode <=", value, "storecode");
            return (Criteria) this;
        }

        public Criteria andStorecodeLike(String value) {
            addCriterion("StoreCode like", value, "storecode");
            return (Criteria) this;
        }

        public Criteria andStorecodeNotLike(String value) {
            addCriterion("StoreCode not like", value, "storecode");
            return (Criteria) this;
        }

        public Criteria andStorecodeIn(List<String> values) {
            addCriterion("StoreCode in", values, "storecode");
            return (Criteria) this;
        }

        public Criteria andStorecodeNotIn(List<String> values) {
            addCriterion("StoreCode not in", values, "storecode");
            return (Criteria) this;
        }

        public Criteria andStorecodeBetween(String value1, String value2) {
            addCriterion("StoreCode between", value1, value2, "storecode");
            return (Criteria) this;
        }

        public Criteria andStorecodeNotBetween(String value1, String value2) {
            addCriterion("StoreCode not between", value1, value2, "storecode");
            return (Criteria) this;
        }

        public Criteria andHousemodeIsNull() {
            addCriterion("HouseMode is null");
            return (Criteria) this;
        }

        public Criteria andHousemodeIsNotNull() {
            addCriterion("HouseMode is not null");
            return (Criteria) this;
        }

        public Criteria andHousemodeEqualTo(String value) {
            addCriterion("HouseMode =", value, "housemode");
            return (Criteria) this;
        }

        public Criteria andHousemodeNotEqualTo(String value) {
            addCriterion("HouseMode <>", value, "housemode");
            return (Criteria) this;
        }

        public Criteria andHousemodeGreaterThan(String value) {
            addCriterion("HouseMode >", value, "housemode");
            return (Criteria) this;
        }

        public Criteria andHousemodeGreaterThanOrEqualTo(String value) {
            addCriterion("HouseMode >=", value, "housemode");
            return (Criteria) this;
        }

        public Criteria andHousemodeLessThan(String value) {
            addCriterion("HouseMode <", value, "housemode");
            return (Criteria) this;
        }

        public Criteria andHousemodeLessThanOrEqualTo(String value) {
            addCriterion("HouseMode <=", value, "housemode");
            return (Criteria) this;
        }

        public Criteria andHousemodeLike(String value) {
            addCriterion("HouseMode like", value, "housemode");
            return (Criteria) this;
        }

        public Criteria andHousemodeNotLike(String value) {
            addCriterion("HouseMode not like", value, "housemode");
            return (Criteria) this;
        }

        public Criteria andHousemodeIn(List<String> values) {
            addCriterion("HouseMode in", values, "housemode");
            return (Criteria) this;
        }

        public Criteria andHousemodeNotIn(List<String> values) {
            addCriterion("HouseMode not in", values, "housemode");
            return (Criteria) this;
        }

        public Criteria andHousemodeBetween(String value1, String value2) {
            addCriterion("HouseMode between", value1, value2, "housemode");
            return (Criteria) this;
        }

        public Criteria andHousemodeNotBetween(String value1, String value2) {
            addCriterion("HouseMode not between", value1, value2, "housemode");
            return (Criteria) this;
        }

        public Criteria andHousemixedIsNull() {
            addCriterion("HouseMixed is null");
            return (Criteria) this;
        }

        public Criteria andHousemixedIsNotNull() {
            addCriterion("HouseMixed is not null");
            return (Criteria) this;
        }

        public Criteria andHousemixedEqualTo(String value) {
            addCriterion("HouseMixed =", value, "housemixed");
            return (Criteria) this;
        }

        public Criteria andHousemixedNotEqualTo(String value) {
            addCriterion("HouseMixed <>", value, "housemixed");
            return (Criteria) this;
        }

        public Criteria andHousemixedGreaterThan(String value) {
            addCriterion("HouseMixed >", value, "housemixed");
            return (Criteria) this;
        }

        public Criteria andHousemixedGreaterThanOrEqualTo(String value) {
            addCriterion("HouseMixed >=", value, "housemixed");
            return (Criteria) this;
        }

        public Criteria andHousemixedLessThan(String value) {
            addCriterion("HouseMixed <", value, "housemixed");
            return (Criteria) this;
        }

        public Criteria andHousemixedLessThanOrEqualTo(String value) {
            addCriterion("HouseMixed <=", value, "housemixed");
            return (Criteria) this;
        }

        public Criteria andHousemixedLike(String value) {
            addCriterion("HouseMixed like", value, "housemixed");
            return (Criteria) this;
        }

        public Criteria andHousemixedNotLike(String value) {
            addCriterion("HouseMixed not like", value, "housemixed");
            return (Criteria) this;
        }

        public Criteria andHousemixedIn(List<String> values) {
            addCriterion("HouseMixed in", values, "housemixed");
            return (Criteria) this;
        }

        public Criteria andHousemixedNotIn(List<String> values) {
            addCriterion("HouseMixed not in", values, "housemixed");
            return (Criteria) this;
        }

        public Criteria andHousemixedBetween(String value1, String value2) {
            addCriterion("HouseMixed between", value1, value2, "housemixed");
            return (Criteria) this;
        }

        public Criteria andHousemixedNotBetween(String value1, String value2) {
            addCriterion("HouseMixed not between", value1, value2, "housemixed");
            return (Criteria) this;
        }

        public Criteria andIndatemodeIsNull() {
            addCriterion("IndateMode is null");
            return (Criteria) this;
        }

        public Criteria andIndatemodeIsNotNull() {
            addCriterion("IndateMode is not null");
            return (Criteria) this;
        }

        public Criteria andIndatemodeEqualTo(String value) {
            addCriterion("IndateMode =", value, "indatemode");
            return (Criteria) this;
        }

        public Criteria andIndatemodeNotEqualTo(String value) {
            addCriterion("IndateMode <>", value, "indatemode");
            return (Criteria) this;
        }

        public Criteria andIndatemodeGreaterThan(String value) {
            addCriterion("IndateMode >", value, "indatemode");
            return (Criteria) this;
        }

        public Criteria andIndatemodeGreaterThanOrEqualTo(String value) {
            addCriterion("IndateMode >=", value, "indatemode");
            return (Criteria) this;
        }

        public Criteria andIndatemodeLessThan(String value) {
            addCriterion("IndateMode <", value, "indatemode");
            return (Criteria) this;
        }

        public Criteria andIndatemodeLessThanOrEqualTo(String value) {
            addCriterion("IndateMode <=", value, "indatemode");
            return (Criteria) this;
        }

        public Criteria andIndatemodeLike(String value) {
            addCriterion("IndateMode like", value, "indatemode");
            return (Criteria) this;
        }

        public Criteria andIndatemodeNotLike(String value) {
            addCriterion("IndateMode not like", value, "indatemode");
            return (Criteria) this;
        }

        public Criteria andIndatemodeIn(List<String> values) {
            addCriterion("IndateMode in", values, "indatemode");
            return (Criteria) this;
        }

        public Criteria andIndatemodeNotIn(List<String> values) {
            addCriterion("IndateMode not in", values, "indatemode");
            return (Criteria) this;
        }

        public Criteria andIndatemodeBetween(String value1, String value2) {
            addCriterion("IndateMode between", value1, value2, "indatemode");
            return (Criteria) this;
        }

        public Criteria andIndatemodeNotBetween(String value1, String value2) {
            addCriterion("IndateMode not between", value1, value2, "indatemode");
            return (Criteria) this;
        }

        public Criteria andNewupdateIsNull() {
            addCriterion("NewUpdate is null");
            return (Criteria) this;
        }

        public Criteria andNewupdateIsNotNull() {
            addCriterion("NewUpdate is not null");
            return (Criteria) this;
        }

        public Criteria andNewupdateEqualTo(Date value) {
            addCriterion("NewUpdate =", value, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateNotEqualTo(Date value) {
            addCriterion("NewUpdate <>", value, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateGreaterThan(Date value) {
            addCriterion("NewUpdate >", value, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateGreaterThanOrEqualTo(Date value) {
            addCriterion("NewUpdate >=", value, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateLessThan(Date value) {
            addCriterion("NewUpdate <", value, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateLessThanOrEqualTo(Date value) {
            addCriterion("NewUpdate <=", value, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateIn(List<Date> values) {
            addCriterion("NewUpdate in", values, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateNotIn(List<Date> values) {
            addCriterion("NewUpdate not in", values, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateBetween(Date value1, Date value2) {
            addCriterion("NewUpdate between", value1, value2, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateNotBetween(Date value1, Date value2) {
            addCriterion("NewUpdate not between", value1, value2, "newupdate");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("UserID is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("UserID is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(String value) {
            addCriterion("UserID =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(String value) {
            addCriterion("UserID <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(String value) {
            addCriterion("UserID >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(String value) {
            addCriterion("UserID >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(String value) {
            addCriterion("UserID <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(String value) {
            addCriterion("UserID <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLike(String value) {
            addCriterion("UserID like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotLike(String value) {
            addCriterion("UserID not like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<String> values) {
            addCriterion("UserID in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<String> values) {
            addCriterion("UserID not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(String value1, String value2) {
            addCriterion("UserID between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(String value1, String value2) {
            addCriterion("UserID not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andDesccodeIsNull() {
            addCriterion("DESCCode is null");
            return (Criteria) this;
        }

        public Criteria andDesccodeIsNotNull() {
            addCriterion("DESCCode is not null");
            return (Criteria) this;
        }

        public Criteria andDesccodeEqualTo(String value) {
            addCriterion("DESCCode =", value, "desccode");
            return (Criteria) this;
        }

        public Criteria andDesccodeNotEqualTo(String value) {
            addCriterion("DESCCode <>", value, "desccode");
            return (Criteria) this;
        }

        public Criteria andDesccodeGreaterThan(String value) {
            addCriterion("DESCCode >", value, "desccode");
            return (Criteria) this;
        }

        public Criteria andDesccodeGreaterThanOrEqualTo(String value) {
            addCriterion("DESCCode >=", value, "desccode");
            return (Criteria) this;
        }

        public Criteria andDesccodeLessThan(String value) {
            addCriterion("DESCCode <", value, "desccode");
            return (Criteria) this;
        }

        public Criteria andDesccodeLessThanOrEqualTo(String value) {
            addCriterion("DESCCode <=", value, "desccode");
            return (Criteria) this;
        }

        public Criteria andDesccodeLike(String value) {
            addCriterion("DESCCode like", value, "desccode");
            return (Criteria) this;
        }

        public Criteria andDesccodeNotLike(String value) {
            addCriterion("DESCCode not like", value, "desccode");
            return (Criteria) this;
        }

        public Criteria andDesccodeIn(List<String> values) {
            addCriterion("DESCCode in", values, "desccode");
            return (Criteria) this;
        }

        public Criteria andDesccodeNotIn(List<String> values) {
            addCriterion("DESCCode not in", values, "desccode");
            return (Criteria) this;
        }

        public Criteria andDesccodeBetween(String value1, String value2) {
            addCriterion("DESCCode between", value1, value2, "desccode");
            return (Criteria) this;
        }

        public Criteria andDesccodeNotBetween(String value1, String value2) {
            addCriterion("DESCCode not between", value1, value2, "desccode");
            return (Criteria) this;
        }

        public Criteria andFathersIsNull() {
            addCriterion("Fathers is null");
            return (Criteria) this;
        }

        public Criteria andFathersIsNotNull() {
            addCriterion("Fathers is not null");
            return (Criteria) this;
        }

        public Criteria andFathersEqualTo(String value) {
            addCriterion("Fathers =", value, "fathers");
            return (Criteria) this;
        }

        public Criteria andFathersNotEqualTo(String value) {
            addCriterion("Fathers <>", value, "fathers");
            return (Criteria) this;
        }

        public Criteria andFathersGreaterThan(String value) {
            addCriterion("Fathers >", value, "fathers");
            return (Criteria) this;
        }

        public Criteria andFathersGreaterThanOrEqualTo(String value) {
            addCriterion("Fathers >=", value, "fathers");
            return (Criteria) this;
        }

        public Criteria andFathersLessThan(String value) {
            addCriterion("Fathers <", value, "fathers");
            return (Criteria) this;
        }

        public Criteria andFathersLessThanOrEqualTo(String value) {
            addCriterion("Fathers <=", value, "fathers");
            return (Criteria) this;
        }

        public Criteria andFathersLike(String value) {
            addCriterion("Fathers like", value, "fathers");
            return (Criteria) this;
        }

        public Criteria andFathersNotLike(String value) {
            addCriterion("Fathers not like", value, "fathers");
            return (Criteria) this;
        }

        public Criteria andFathersIn(List<String> values) {
            addCriterion("Fathers in", values, "fathers");
            return (Criteria) this;
        }

        public Criteria andFathersNotIn(List<String> values) {
            addCriterion("Fathers not in", values, "fathers");
            return (Criteria) this;
        }

        public Criteria andFathersBetween(String value1, String value2) {
            addCriterion("Fathers between", value1, value2, "fathers");
            return (Criteria) this;
        }

        public Criteria andFathersNotBetween(String value1, String value2) {
            addCriterion("Fathers not between", value1, value2, "fathers");
            return (Criteria) this;
        }

        public Criteria andIsonwebIsNull() {
            addCriterion("IsOnWeb is null");
            return (Criteria) this;
        }

        public Criteria andIsonwebIsNotNull() {
            addCriterion("IsOnWeb is not null");
            return (Criteria) this;
        }

        public Criteria andIsonwebEqualTo(String value) {
            addCriterion("IsOnWeb =", value, "isonweb");
            return (Criteria) this;
        }

        public Criteria andIsonwebNotEqualTo(String value) {
            addCriterion("IsOnWeb <>", value, "isonweb");
            return (Criteria) this;
        }

        public Criteria andIsonwebGreaterThan(String value) {
            addCriterion("IsOnWeb >", value, "isonweb");
            return (Criteria) this;
        }

        public Criteria andIsonwebGreaterThanOrEqualTo(String value) {
            addCriterion("IsOnWeb >=", value, "isonweb");
            return (Criteria) this;
        }

        public Criteria andIsonwebLessThan(String value) {
            addCriterion("IsOnWeb <", value, "isonweb");
            return (Criteria) this;
        }

        public Criteria andIsonwebLessThanOrEqualTo(String value) {
            addCriterion("IsOnWeb <=", value, "isonweb");
            return (Criteria) this;
        }

        public Criteria andIsonwebLike(String value) {
            addCriterion("IsOnWeb like", value, "isonweb");
            return (Criteria) this;
        }

        public Criteria andIsonwebNotLike(String value) {
            addCriterion("IsOnWeb not like", value, "isonweb");
            return (Criteria) this;
        }

        public Criteria andIsonwebIn(List<String> values) {
            addCriterion("IsOnWeb in", values, "isonweb");
            return (Criteria) this;
        }

        public Criteria andIsonwebNotIn(List<String> values) {
            addCriterion("IsOnWeb not in", values, "isonweb");
            return (Criteria) this;
        }

        public Criteria andIsonwebBetween(String value1, String value2) {
            addCriterion("IsOnWeb between", value1, value2, "isonweb");
            return (Criteria) this;
        }

        public Criteria andIsonwebNotBetween(String value1, String value2) {
            addCriterion("IsOnWeb not between", value1, value2, "isonweb");
            return (Criteria) this;
        }

        public Criteria andFontIsNull() {
            addCriterion("Font is null");
            return (Criteria) this;
        }

        public Criteria andFontIsNotNull() {
            addCriterion("Font is not null");
            return (Criteria) this;
        }

        public Criteria andFontEqualTo(Integer value) {
            addCriterion("Font =", value, "font");
            return (Criteria) this;
        }

        public Criteria andFontNotEqualTo(Integer value) {
            addCriterion("Font <>", value, "font");
            return (Criteria) this;
        }

        public Criteria andFontGreaterThan(Integer value) {
            addCriterion("Font >", value, "font");
            return (Criteria) this;
        }

        public Criteria andFontGreaterThanOrEqualTo(Integer value) {
            addCriterion("Font >=", value, "font");
            return (Criteria) this;
        }

        public Criteria andFontLessThan(Integer value) {
            addCriterion("Font <", value, "font");
            return (Criteria) this;
        }

        public Criteria andFontLessThanOrEqualTo(Integer value) {
            addCriterion("Font <=", value, "font");
            return (Criteria) this;
        }

        public Criteria andFontIn(List<Integer> values) {
            addCriterion("Font in", values, "font");
            return (Criteria) this;
        }

        public Criteria andFontNotIn(List<Integer> values) {
            addCriterion("Font not in", values, "font");
            return (Criteria) this;
        }

        public Criteria andFontBetween(Integer value1, Integer value2) {
            addCriterion("Font between", value1, value2, "font");
            return (Criteria) this;
        }

        public Criteria andFontNotBetween(Integer value1, Integer value2) {
            addCriterion("Font not between", value1, value2, "font");
            return (Criteria) this;
        }

        public Criteria andFontcolorIsNull() {
            addCriterion("FontColor is null");
            return (Criteria) this;
        }

        public Criteria andFontcolorIsNotNull() {
            addCriterion("FontColor is not null");
            return (Criteria) this;
        }

        public Criteria andFontcolorEqualTo(String value) {
            addCriterion("FontColor =", value, "fontcolor");
            return (Criteria) this;
        }

        public Criteria andFontcolorNotEqualTo(String value) {
            addCriterion("FontColor <>", value, "fontcolor");
            return (Criteria) this;
        }

        public Criteria andFontcolorGreaterThan(String value) {
            addCriterion("FontColor >", value, "fontcolor");
            return (Criteria) this;
        }

        public Criteria andFontcolorGreaterThanOrEqualTo(String value) {
            addCriterion("FontColor >=", value, "fontcolor");
            return (Criteria) this;
        }

        public Criteria andFontcolorLessThan(String value) {
            addCriterion("FontColor <", value, "fontcolor");
            return (Criteria) this;
        }

        public Criteria andFontcolorLessThanOrEqualTo(String value) {
            addCriterion("FontColor <=", value, "fontcolor");
            return (Criteria) this;
        }

        public Criteria andFontcolorLike(String value) {
            addCriterion("FontColor like", value, "fontcolor");
            return (Criteria) this;
        }

        public Criteria andFontcolorNotLike(String value) {
            addCriterion("FontColor not like", value, "fontcolor");
            return (Criteria) this;
        }

        public Criteria andFontcolorIn(List<String> values) {
            addCriterion("FontColor in", values, "fontcolor");
            return (Criteria) this;
        }

        public Criteria andFontcolorNotIn(List<String> values) {
            addCriterion("FontColor not in", values, "fontcolor");
            return (Criteria) this;
        }

        public Criteria andFontcolorBetween(String value1, String value2) {
            addCriterion("FontColor between", value1, value2, "fontcolor");
            return (Criteria) this;
        }

        public Criteria andFontcolorNotBetween(String value1, String value2) {
            addCriterion("FontColor not between", value1, value2, "fontcolor");
            return (Criteria) this;
        }

        public Criteria andBoldIsNull() {
            addCriterion("Bold is null");
            return (Criteria) this;
        }

        public Criteria andBoldIsNotNull() {
            addCriterion("Bold is not null");
            return (Criteria) this;
        }

        public Criteria andBoldEqualTo(Integer value) {
            addCriterion("Bold =", value, "bold");
            return (Criteria) this;
        }

        public Criteria andBoldNotEqualTo(Integer value) {
            addCriterion("Bold <>", value, "bold");
            return (Criteria) this;
        }

        public Criteria andBoldGreaterThan(Integer value) {
            addCriterion("Bold >", value, "bold");
            return (Criteria) this;
        }

        public Criteria andBoldGreaterThanOrEqualTo(Integer value) {
            addCriterion("Bold >=", value, "bold");
            return (Criteria) this;
        }

        public Criteria andBoldLessThan(Integer value) {
            addCriterion("Bold <", value, "bold");
            return (Criteria) this;
        }

        public Criteria andBoldLessThanOrEqualTo(Integer value) {
            addCriterion("Bold <=", value, "bold");
            return (Criteria) this;
        }

        public Criteria andBoldIn(List<Integer> values) {
            addCriterion("Bold in", values, "bold");
            return (Criteria) this;
        }

        public Criteria andBoldNotIn(List<Integer> values) {
            addCriterion("Bold not in", values, "bold");
            return (Criteria) this;
        }

        public Criteria andBoldBetween(Integer value1, Integer value2) {
            addCriterion("Bold between", value1, value2, "bold");
            return (Criteria) this;
        }

        public Criteria andBoldNotBetween(Integer value1, Integer value2) {
            addCriterion("Bold not between", value1, value2, "bold");
            return (Criteria) this;
        }

        public Criteria andListorderIsNull() {
            addCriterion("ListOrder is null");
            return (Criteria) this;
        }

        public Criteria andListorderIsNotNull() {
            addCriterion("ListOrder is not null");
            return (Criteria) this;
        }

        public Criteria andListorderEqualTo(Integer value) {
            addCriterion("ListOrder =", value, "listorder");
            return (Criteria) this;
        }

        public Criteria andListorderNotEqualTo(Integer value) {
            addCriterion("ListOrder <>", value, "listorder");
            return (Criteria) this;
        }

        public Criteria andListorderGreaterThan(Integer value) {
            addCriterion("ListOrder >", value, "listorder");
            return (Criteria) this;
        }

        public Criteria andListorderGreaterThanOrEqualTo(Integer value) {
            addCriterion("ListOrder >=", value, "listorder");
            return (Criteria) this;
        }

        public Criteria andListorderLessThan(Integer value) {
            addCriterion("ListOrder <", value, "listorder");
            return (Criteria) this;
        }

        public Criteria andListorderLessThanOrEqualTo(Integer value) {
            addCriterion("ListOrder <=", value, "listorder");
            return (Criteria) this;
        }

        public Criteria andListorderIn(List<Integer> values) {
            addCriterion("ListOrder in", values, "listorder");
            return (Criteria) this;
        }

        public Criteria andListorderNotIn(List<Integer> values) {
            addCriterion("ListOrder not in", values, "listorder");
            return (Criteria) this;
        }

        public Criteria andListorderBetween(Integer value1, Integer value2) {
            addCriterion("ListOrder between", value1, value2, "listorder");
            return (Criteria) this;
        }

        public Criteria andListorderNotBetween(Integer value1, Integer value2) {
            addCriterion("ListOrder not between", value1, value2, "listorder");
            return (Criteria) this;
        }

        public Criteria andCatejpgIsNull() {
            addCriterion("CateJpg is null");
            return (Criteria) this;
        }

        public Criteria andCatejpgIsNotNull() {
            addCriterion("CateJpg is not null");
            return (Criteria) this;
        }

        public Criteria andCatejpgEqualTo(String value) {
            addCriterion("CateJpg =", value, "catejpg");
            return (Criteria) this;
        }

        public Criteria andCatejpgNotEqualTo(String value) {
            addCriterion("CateJpg <>", value, "catejpg");
            return (Criteria) this;
        }

        public Criteria andCatejpgGreaterThan(String value) {
            addCriterion("CateJpg >", value, "catejpg");
            return (Criteria) this;
        }

        public Criteria andCatejpgGreaterThanOrEqualTo(String value) {
            addCriterion("CateJpg >=", value, "catejpg");
            return (Criteria) this;
        }

        public Criteria andCatejpgLessThan(String value) {
            addCriterion("CateJpg <", value, "catejpg");
            return (Criteria) this;
        }

        public Criteria andCatejpgLessThanOrEqualTo(String value) {
            addCriterion("CateJpg <=", value, "catejpg");
            return (Criteria) this;
        }

        public Criteria andCatejpgLike(String value) {
            addCriterion("CateJpg like", value, "catejpg");
            return (Criteria) this;
        }

        public Criteria andCatejpgNotLike(String value) {
            addCriterion("CateJpg not like", value, "catejpg");
            return (Criteria) this;
        }

        public Criteria andCatejpgIn(List<String> values) {
            addCriterion("CateJpg in", values, "catejpg");
            return (Criteria) this;
        }

        public Criteria andCatejpgNotIn(List<String> values) {
            addCriterion("CateJpg not in", values, "catejpg");
            return (Criteria) this;
        }

        public Criteria andCatejpgBetween(String value1, String value2) {
            addCriterion("CateJpg between", value1, value2, "catejpg");
            return (Criteria) this;
        }

        public Criteria andCatejpgNotBetween(String value1, String value2) {
            addCriterion("CateJpg not between", value1, value2, "catejpg");
            return (Criteria) this;
        }

        public Criteria andIsonweb2IsNull() {
            addCriterion("IsOnWeb2 is null");
            return (Criteria) this;
        }

        public Criteria andIsonweb2IsNotNull() {
            addCriterion("IsOnWeb2 is not null");
            return (Criteria) this;
        }

        public Criteria andIsonweb2EqualTo(String value) {
            addCriterion("IsOnWeb2 =", value, "isonweb2");
            return (Criteria) this;
        }

        public Criteria andIsonweb2NotEqualTo(String value) {
            addCriterion("IsOnWeb2 <>", value, "isonweb2");
            return (Criteria) this;
        }

        public Criteria andIsonweb2GreaterThan(String value) {
            addCriterion("IsOnWeb2 >", value, "isonweb2");
            return (Criteria) this;
        }

        public Criteria andIsonweb2GreaterThanOrEqualTo(String value) {
            addCriterion("IsOnWeb2 >=", value, "isonweb2");
            return (Criteria) this;
        }

        public Criteria andIsonweb2LessThan(String value) {
            addCriterion("IsOnWeb2 <", value, "isonweb2");
            return (Criteria) this;
        }

        public Criteria andIsonweb2LessThanOrEqualTo(String value) {
            addCriterion("IsOnWeb2 <=", value, "isonweb2");
            return (Criteria) this;
        }

        public Criteria andIsonweb2Like(String value) {
            addCriterion("IsOnWeb2 like", value, "isonweb2");
            return (Criteria) this;
        }

        public Criteria andIsonweb2NotLike(String value) {
            addCriterion("IsOnWeb2 not like", value, "isonweb2");
            return (Criteria) this;
        }

        public Criteria andIsonweb2In(List<String> values) {
            addCriterion("IsOnWeb2 in", values, "isonweb2");
            return (Criteria) this;
        }

        public Criteria andIsonweb2NotIn(List<String> values) {
            addCriterion("IsOnWeb2 not in", values, "isonweb2");
            return (Criteria) this;
        }

        public Criteria andIsonweb2Between(String value1, String value2) {
            addCriterion("IsOnWeb2 between", value1, value2, "isonweb2");
            return (Criteria) this;
        }

        public Criteria andIsonweb2NotBetween(String value1, String value2) {
            addCriterion("IsOnWeb2 not between", value1, value2, "isonweb2");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}